/**
 * 
 */
package net.cloudcodex.client.home.view.panel.character;

import java.util.Date;

import com.google.gwt.event.dom.client.HasClickHandlers;

import net.cloudcodex.client.home.view.HomeView.Message;
import net.cloudcodex.client.home.view.panel.AbstractInfoPanel;

/**
 * @author Daniel
 * 
 */
public class HomeCharacterInfoPanel extends AbstractInfoPanel {

	private String campaignName;
	private String campaignGM;
	private Date dateStartedCharacter;
	private String game;
	private Message message;

	public HomeCharacterInfoPanel() {
		
	}
	
	public void initPanel() {
		this.add(getPanel("Campaign", campaignName));
		this.add(getPanel("Game", game));
		this.add(getPanel("Game Master", campaignGM));
		this.add(getPanel("Started on", dateStartedCharacter.toString()));
		setStyleName("characterInfoPanel");
	}

	public void setCampaignName(String campaignName) {
		this.campaignName = campaignName;
	}

	public void setCampaignGM(String campaignGM) {
		this.campaignGM = campaignGM;
	}

	public void setDateStartedCharacter(Date dateStartedCharacter) {
		this.dateStartedCharacter = dateStartedCharacter;
	}

	public void setGame(String game) {
		this.game = game;
	}
	public void setMessage(Message message) {
		this.message = message;

	}


}
